/**
 * @author Mr.J
 * @version 1.0.0
 * @date 2024/10/31
 * @desc
 */
import java.util.ArrayList;
import java.util.List;

// 学院类
public class School {
	private List<Department> departments;

	public School() {
		this.departments = new ArrayList<>();
	}

	public void addDepartment(Department department) {
		this.departments.add(department);
	}

	public List<Department> getDepartments() {
		return departments;
	}
}